﻿{{~ for using_item in using ~}}
using {{ using_item }};
{{~ end ~}}

namespace {{ namespace }}
{
    /// <summary>
    /// {{ entity_summary }}
    /// </summary>
    [SugarTable("{{ table_name }}")]
    public class {{ entity_name }}
    {
        {{~ for field in fields ~}}
        /// <summary>
        /// {{ field.description }}
        /// </summary>
        [SugarColumn(ColumnName = "{{ field.column_name }}")]
        public {{ field.data_type }} {{ field.field_name }} { get; set; }

        {{~ end ~}}
    }
}
